OZ_CFLAGS=@CFLAGS@ @COMP_VENDOR_CFLAGS@ @DEFS@

BASE=../../..
OZ_DIR=..
VERBOSE=1
OZLA=$(OZ_DIR)/libopenzap.la
LOCAL_CFLAGS=-I$(OZ_DIR)/src/include -I$(OZ_DIR)/src/isdn/include $(OZ_CFLAGS)
LOCAL_LDFLAGS=-L$(OZ_DIR) -lopenzap 
include $(BASE)/build/modmake.rules

local_depend: $(OZLA)

$(OZLA): $(OZ_DIR)/.update
	cd $(OZ_DIR) && $(MAKE)

local_install:
	cd $(OZ_DIR) && $(MAKE) install
	[ -f $(DESTDIR)@confdir@/autoload_configs/openzap.conf.xml ] || cp -f $(OZ_DIR)/conf/openzap.conf.xml  $(DESTDIR)@confdir@/autoload_configs

local_clean:
	cd $(OZ_DIR) && $(MAKE) clean


